﻿using System;
using System.Collections.Generic; 
using System.Text;

namespace WebStudio.Support.User
{
    public class UserInfo
    {
        // Fields
        private string _Account;
        private int _EmployeeID;
        private int _EmployeeLevelCodeID;
        private string _EmployeeLevelName; 
        private int _InstitutionDirectoryCodeID;
        private int _InstitutionID;
        private string _InstitutionName;
        private string _IP;
        private bool _IsSuper;
        private string _LastedIP;
        private DateTime _LastedLoginDateTime;
        private DateTime _LoginDateTime;
        private string _MobilePhone;
        private string _PositionName;
        private string _PowerString;
        private string _Remark = "";
        private string _RoleString;
        private int _UserID;
        private string _UserName;

        // Properties
        public string Account
        {
            get
            {
                return this._Account;
            }
            set
            {
                this._Account = value;
            }
        }

        public int EmployeeID
        {
            get
            {
                return this._EmployeeID;
            }
            set
            {
                this._EmployeeID = value;
            }
        }

        public int EmployeeLevelCodeID
        {
            get
            {
                return this._EmployeeLevelCodeID;
            }
            set
            {
                this._EmployeeLevelCodeID = value;
            }
        }

        public string EmployeeLevelName
        {
            get
            {
                return this._EmployeeLevelName;
            }
            set
            {
                this._EmployeeLevelName = value;
            }
        }

        public int InstitutionDirectoryCodeID
        {
            get
            {
                return this._InstitutionDirectoryCodeID;
            }
            set
            {
                this._InstitutionDirectoryCodeID = value;
            }
        }

        public int InstitutionID
        {
            get
            {
                return this._InstitutionID;
            }
            set
            {
                this._InstitutionID = value;
            }
        }

        public string InstitutionName
        {
            get
            {
                return this._InstitutionName;
            }
            set
            {
                this._InstitutionName = value;
            }
        }

        public string IP
        {
            get
            {
                return this._IP;
            }
            set
            {
                this._IP = value;
            }
        }

        public bool IsSuper
        {
            get
            {
                return this._IsSuper;
            }
            set
            {
                this._IsSuper = value;
            }
        }

        public string LastedIP
        {
            get
            {
                return this._LastedIP;
            }
            set
            {
                this._LastedIP = value;
            }
        }

        public DateTime LastedLoginDateTime
        {
            get
            {
                return this._LastedLoginDateTime;
            }
            set
            {
                this._LastedLoginDateTime = value;
            }
        }

        public DateTime LoginDateTime
        {
            get
            {
                return this._LoginDateTime;
            }
            set
            {
                this._LoginDateTime = value;
            }
        }

        public string MobilePhone
        {
            get
            {
                return this._MobilePhone;
            }
            set
            {
                this._MobilePhone = value;
            }
        }

        public string PositionName
        {
            get
            {
                return this._PositionName;
            }
            set
            {
                this._PositionName = value;
            }
        }

        public string PowerString
        {
            get
            {
                return this._PowerString;
            }
            set
            {
                this._PowerString = value;
            }
        }

        public string Remark
        {
            get
            {
                return this._Remark;
            }
            set
            {
                this._Remark = value;
            }
        }

        public string RoleString
        {
            get
            {
                return this._RoleString;
            }
            set
            {
                this._RoleString = value;
            }
        }

        public int UserID
        {
            get
            {
                return this._UserID;
            }
            set
            {
                this._UserID = value;
            }
        }

        public string UserName
        {
            get
            {
                return this._UserName;
            }
            set
            {
                this._UserName = value;
            }
        }

    }
}
